﻿using System;
using System.Collections.Generic;

namespace CoreProject.Model;

public partial class User
{
    public int UserId { get; set; }

    public string LoginName { get; set; } = null!;

    public string LoginPwd { get; set; } = null!;

    public string UserName { get; set; } = null!;

    public string Sex { get; set; } = null!;

    public DateOnly Birthday { get; set; }

    public string Phone { get; set; } = null!;

    public int ImgId { get; set; }

    public int RoleId { get; set; }

    public bool Status { get; set; }

    public DateTime LastTime { get; set; }

    public virtual ICollection<HjqOrder> HjqOrders { get; set; } = new List<HjqOrder>();

    public virtual Image Img { get; set; } = null!;

    public virtual ICollection<Message> Messages { get; set; } = new List<Message>();

    public virtual ICollection<Pder> Pders { get; set; } = new List<Pder>();

    public virtual Role Role { get; set; } = null!;
}
